package com.sea.wechat.util;

import java.util.ResourceBundle;

public class ResourceUtil {

	public static String GETACCESSTOKENURL = "";
	public static String APPID = "";
	public static String APPSECRET = "";
	/** js-sdk票据 */
	public static String GETJSAPITICKET = "";
	public static String NONCESTR = "";
	public static String JSAPILIST = "";
	
	static{
		ResourceBundle bundle = ResourceBundle.getBundle("wechat");
		GETACCESSTOKENURL = bundle.getString("get_access_token_url");
		APPID = bundle.getString("appid");
		APPSECRET = bundle.getString("appsecret");
		GETJSAPITICKET = bundle.getString("get_jsapi_ticket");
		NONCESTR = bundle.getString("noncestr");
		JSAPILIST = bundle.getString("jsApiList");
	}

	public static String getGETACCESSTOKENURL() {
		return GETACCESSTOKENURL;
	}

	public static void setGETACCESSTOKENURL(String gETACCESSTOKENURL) {
		GETACCESSTOKENURL = gETACCESSTOKENURL;
	}

	public static String getAPPID() {
		return APPID;
	}

	public static void setAPPID(String aPPID) {
		APPID = aPPID;
	}

	public static String getAPPSECRET() {
		return APPSECRET;
	}

	public static void setAPPSECRET(String aPPSECRET) {
		APPSECRET = aPPSECRET;
	}

	public static String getGETJSAPITICKET() {
		return GETJSAPITICKET;
	}

	public static void setGETJSAPITICKET(String gETJSAPITICKET) {
		GETJSAPITICKET = gETJSAPITICKET;
	}

	public static String getNONCESTR() {
		return NONCESTR;
	}

	public static void setNONCESTR(String nONCESTR) {
		NONCESTR = nONCESTR;
	}

	public static String getJSAPILIST() {
		return JSAPILIST;
	}

	public static void setJSAPILIST(String jSAPILIST) {
		JSAPILIST = jSAPILIST;
	}
	
}
